home *** CD-ROM | disk | FTP | other *** search
- # test
- /*
- * guh Copyright 1993 - Dont ask me why i called it that. I just did.
- *
- * Written by Jeremy Nelson (jnelson@acronet.net)
- * Requires ircII-EPIC
- *
- * General aliases that are useful for tracking
- * "whatchan" - returns all the channels a person is on
- * "is_on" - returns the nickname of a user if s/he is on.
- * "uh" - takes a list of names and returns a list of userhosts
- * corresponding to those nicks
- * "inc" - more for antiquity's sake, proves a point
- */
-
- alias whatchan
- {
- stack push on 319
- ^on ^319 * {
- stack pop on 319
- return $1-
- }
- wait for ^whois $0
- }
-
- alias is_on
- {
- stack push on 303
- ^on ^303 * {
- stack pop on 303
- return $0
- }
- wait for ison $0
- }
-
- alias uh
- {
- ^local blahblah
- wait for {
- ^userhost $* -cmd {
- bless
- push blahblah $3@$4
- }
- }
- return $blahblah
- }
-
- alias inc
- {
- @ $0 += [$1]?[$1]:1
- }
-
- #hop'93
-